package org.example.entity;

/**
 * @author plyn
 * 返回参数字段名集合
 */
public class Fields{
    /**
     * 电池包基础信息
     */
    public static final String PACK_NO = "PACK_SN"; // 电池包编号 packNo=>PACK_SN
    public static final String START_TIME="startTime"; // 开始时间
    public static final String END_TIME = "endTime"; // 结束时间
    public static final String CHARGE_STATUS = "Battery_Status"; // 充放电状态 chargeStatus=>Battery_Status
    public static final String CHARGE_STATUS_NUM = "chargeStatusNum";
    public static final String CURRENT_DAY = "currentDay"; // 当前日期
    public static final String TENANT_ID = "tenantId"; // 租户编号
    public static final String DURATION = "duration"; // 开始时间至结束时间的时长
    public static final String STATUS_CHANGE = "statusChange"; // 状态变化

    /**
     * 充放电开始 结束时的电压
     */
    public static final String TOTAL_VOLTAGE_START="rackTotalVoltageStart";
    public static final String TOTAL_VOLTAGE_END="rackTotalVoltageEnd";

    /**
     * 充放电被截断时的开始和结束时间戳
     */
    public static final String CHARGE_START_TS="chargeStartTs";
    public static final String CHARGE_END_TS="chargeEndTs";
    public static final String CHARGE_TIME_SCOPE="chargeTimeScope";
    public static final String DISCHARGE_START_TS="dischargeStartTs";
    public static final String DISCHARGE_END_TS="dischargeEndTs";
    public static final String DISCHARGE_TIME_SCOPE="dischargeTimeScope";


    /**
     * 行驶里程和行驶时长
     */
    public static final String TRAVEL_TIME_START = "travelTimeStart"; // 开始时的累计行驶时长
    public static final String TRAVEL_TIME_END = "travelTimeEnd"; // 结束时的累计行驶时长
    public static final String TRAVEL_TIME_SUM = "travelTimeSum"; // 总行驶时长
    public static final String DISTANCE_START = "distanceStart"; // 开始时的累计行驶里程
    public static final String DISTANCE_END = "distanceEnd"; // 结束时的累计行驶里程
    public static final String DISTANCE_SUM = "distanceSum"; // 总里程


    /**
     * 电池包充放电电量
     */
    public static final String ELECTRIC_DIS_CHARGE_START = "electricDisChargeStart"; // 状态开始时的累计放电电量
    public static final String ELECTRIC_CHARGE_START = "electricChargeStart"; // 状态开始时的累计充电电量
    public static final String ELECTRIC_DIS_CHARGE_END = "electricDisChargeEnd"; // 状态结束时的累计放电电量
    public static final String ELECTRIC_CHARGE_END = "electricChargeEnd"; // 状态结束时的累计充电电量
    public static final String ELECTRIC_DIS_CHARGE_SUM = "electricDisChargeSum"; // 本次放电电量
    public static final String ELECTRIC_CHARGE_SUM = "electricChargeSum"; // 本次充电电量

    /**
     * 充放电状态
     */
    public static final String DIS_CHARGE = "disCharge"; // 放电状态
    public static final String FAST_CHARGE = "fastCharge"; // 快充状态
    public static final String MAINTENANCE = "maintenance"; // 养护状态
    public static final String NO_LOAD = "noLoad"; // 空载状态
    public static final String INSERT = "insert"; // 插枪状态
    public static final String STORAGE = "storage"; // 仓储状态

    /**
     * 分页说明
     */
    public static final String RECORDS = "records"; // 历史充放电电量数据集合
    public static final String TOTAL = "total"; // 总记录数
    public static final String SIZE = "size"; //每页记录数
    public static final String CURRENT = "current"; // 当前页
    public static final String PAGES = "pages"; // 总页数

    private Fields(){}
}
